from transformations import *
import random

# Imagenes en escala de grises
pylab.gray()
pylab.clf()

img = nibabel.load('../../t1_acpc.nii.gz')
img = img.get_data()

z = 50

#min = random.uniform(0.1, 0.5)
#max = random.uniform(0.5, 1.0)

#max_im = 30
#max_it = 10

#img_traslation = transform_traslation(img[:, :, z], 2, 3, 2)
#v = registration_traslation(img[:, :, z], img_traslation)
img_traslation = transform_traslation(img, 2, 3, 2)
v = registration_traslation(img, img_traslation)

print v
